//
//  MSFilterHeadView.h
//  MSJD
//
//  Created by 箭军刘 on 2018/10/20.
//  Copyright © 2018年 xiangbo. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

/**
 筛选页头部View
 */
@interface MSFilterHeadView : UIView

/** 筛选控件展示 */
@property (nonatomic, copy) void (^ShowFilterViewBlock)(void);
/** 筛选控件消失 */
@property (nonatomic, copy) void (^HiddenFilterBlock)(void);
/** 修改筛选参数回调 */
@property (nonatomic, copy) void (^ChangeFilterBlock)(NSDictionary *filterDic);

+ (instancetype)loadFilterHeadViewWithIsHotel:(BOOL)isHotel;

/** 根据返回的数据来刷新筛选控件 */
- (void)refreshWithFilterInfo:(NSDictionary *)filterInfo;

- (void)startShowFilterView;

- (void)hiddFilterView;

/** 刷新筛选数据，此时需要重新生成界面 */
- (void)reloatFilterData;

/** 移除筛选控件 */
- (void)closeFilterView;

@end

NS_ASSUME_NONNULL_END
